package br.com.view;

import javafx.scene.control.TitledPane;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;

public class TitledPaneCartao extends TitledPane {

	public TitledPaneCartao() {

		this.setText("Detalhes do Cartão");
		ImageView imgCartao = new ImageView(new Image("img/erro.jpg"));
		imgCartao.setFitWidth(15);
		imgCartao.setFitHeight(15);
		this.setGraphic(imgCartao);

	}

}
